package com.summer.bilibili.service;

import com.summer.bilibili.domain.comment.UserCommentArea;
import com.summer.bilibili.domain.enums.BusinessType;
import com.summer.bilibili.dto.CommentAreaDto;
import org.springframework.lang.Nullable;


public interface UserCommentAreaService extends BaseService< UserCommentArea > {
    /**
     * 创建评论区
     */
    Long createDto( BusinessType businessType, Long businessId, @Nullable CommentAreaDto dto);
    /**
     * 更新评论区
     */
    void updateDto(CommentAreaDto dto);
    /**
     * 根据业务id获取评论区
     */
    UserCommentArea getCommentArea(Long businessId);
}
